<?php
if($access_control != "924y39c9vns8r73"){ header("location:../"); }
if($_SESSION["sgm_master"] != 1){
    header("location:?pag=");
}
include_once "controle/venda.php";
?>
<h1>Relatório de Vendas</h1>
<table class="tabela">
    <tr>
        <th>ID</th>
        <th>Data</th>
        <th>Cliente</th>
        <th>Valor</th>
        <th>Forma de Pagamento</th>
    </tr>
    <?=mostraVendasRelatorio()?>
</table>